package src;

import java.util.Calendar;

/**
 * Created by dell on 2017/7/25.
 */
public class LenientTest {
    public static void main(String[] args) {
        Calendar c=Calendar.getInstance();
        c.set(Calendar.MONTH,13);
        System.out.println(c.getTime());
//        c.setLenient(false);
//        c.set(Calendar.MONTH,13);
//        System.out.println(c.getTime());
    }
}
